<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2024/9/4
  Time: 15:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Space</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap-fileinput/4.4.7/css/fileinput.min.css" media="all" rel="stylesheet"
          type="text/css"/>
    <link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div id="wrapper" class="toggled">
    <nav class="navbar navbar-inverse navbar-fixed-top" id="sidebar-wrapper" role="navigation">
        <ul class="nav sidebar-nav">
            <li class="sidebar-brand">
                <a href="/categoryList">
                    商家管理系统
                </a>
            </li>
            <li class="sidebar-brand">
                <a href="#">
                    您好, ${username}
                </a>
            </li>
            <li>
                <a href="/userServlet"><i class="fa fa-fw fa-list-alt"></i> 用户管理</a>
            </li>
            <li class="dropdown open">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i
                        class="fa fa-fw fa-plus"></i> 商品 <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                    <li class="dropdown-header">操作</li>
                    <li><a href="/productInfoByPageServlet">列表</a></li>
                    <li><a href="/insertProductServlet">新增</a></li>
                </ul>
            </li>
            <li class="dropdown open">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i
                        class="fa fa-fw fa-plus"></i> 类目 <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                    <li class="dropdown-header">操作</li>
                    <li><a href="categoryList">列表</a></li>
                    <li><a href="categoryListByPage">分页列表</a></li>
                    <li><a href="insertCategoryServlet">新增</a></li>
                </ul>
            </li>

            <li>
                <a href=""><i class="fa fa-fw fa-list-alt"></i> 登出</a>
            </li>
        </ul>
    </nav>
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" action="/userOperateServlet" method="post">
                        <div class="form-group">
                            <label>用户名称</label>
                            <input name="userName" type="text" class="form-control" value="${user.userName}" readonly>
                        </div>
                        <div class="form-group">
                            <label>用户原密码</label>
                            <input name="passWord" type="text" class="form-control" value="${user.passWord}" readonly>
                        </div>
                        <div class="form-group">
                            <label>用户新密码</label>
                            <input name="userNewPassword" type="password" class="form-control"  >
                        </div>
                        <input type="number" name="userId" value="${user.userId}" hidden>
                        <div><strong>${userOperate_msg}</strong></div>
                        <button type="submit" class="btn btn-success">提交</button>
                    </form>
                </div>
            </div>
        </div>

    </div>
</div>
</body>
</html>
